<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.thymeleaf.org"
      layout:decorator="layout/m_master">

<div layout:fragment="content">
    <link href="/m/css/center/singlephoto.css" rel="stylesheet"/>
    <input type="hidden" value="album" id="filedir">
    <style type="text/css">
        .infinite-scroll {
            position: absolute;
            top: 2.25rem;
            bottom: 0rem;
            left: 0;
            right: 0;
        }
    </style>

    <div class="page-group">
        <div class="page page_manage_contact">

            <div th:replace="layout/m_layout::title('联系方式')"></div>

            <div class="page-content">

                <div class="bcui-tab">
                    <div class="bcui-tab-title">
                        <div class="item active" tab="me">
                            我的联系方式
                        </div>
                        <div class="item" tab="applyme">
                            申请看我的<s bottlecms-notice="contact_me" class="dot hide"></s>
                        </div>
                        <div class="item" tab="meapply">
                            我申请看的
                        </div>
                    </div>
                    <div class="bcui-tab-content">
                        <div class="item infinite-scroll infinite-scroll1 " style="background: #FFF">
                            <form bottlecms-form-ajax="" method="post" id="form_contact"
                                  onsubmit="return checkContact()">
                                <div class="bcui-form " style="background: none">
                                    <div class="form-item wechat">
                                        <div class="form-title">微信号：</div>
                                        <input bottlecms-input type="text" name="wechatid" id="wechatid"
                                               th:value="${data.wechatid}"
                                               placeholder="请输入微信号" class="" maxlength="50"/>

                                        <input bottlecms-input type="hidden" name="wechatQrcode" id="wechatQrcode"
                                               th:value="${data.wechatQrcode}"/>

                                        <div class="form-explain bcui-upload-box">
                                            <div class="wechatcode" id="wechatcode">
                                                <svg t="1576654359887" class="icon" style="width: 30px;"
                                                     viewBox="0 0 1024 1024"
                                                     version="1.1" xmlns="http://www.w3.org/2000/svg">
                                                    <path d="M117.36826016 487.44484823l371.92033828 2e-8L489.28859844 115.52540996 117.36826016 115.52540996 117.36826016 487.44484823zM210.34901972 208.50526953l185.95971915 0-1e-8 185.95971914L210.34901972 394.46498867 210.34901972 208.50526953zM535.77897822 115.52540996l1e-8 371.92033829 371.92033828 0L907.69931562 115.52540996 535.77897822 115.52540996zM814.71855693 394.46498867L628.75883779 394.46498867 628.75883779 208.50526953l185.95971914 0L814.71855693 394.46498867zM256.83849951 347.97550887l92.97985957 2e-8L349.81835908 254.99474932 256.83849951 254.99474932 256.83849951 347.97550887zM117.36826016 905.85556631l371.92033828 0L489.28859844 533.93522803 117.36826016 533.93522803 117.36826016 905.85556631zM210.34901972 626.91508761l185.95971915-2e-8-1e-8 185.95971915L210.34901972 812.87480674 210.34901972 626.91508761zM768.22907627 254.99474932L675.24831758 254.99474932l0 92.97985955 92.97985956 0L768.22817715 254.99474932zM535.77897822 905.85556631l92.97985957 0L628.75883779 812.87570586 535.77897822 812.87570586 535.77897822 905.85556631zM628.75883779 626.91508761l0 185.95971913 92.97985958 0L721.73869737 626.91508761 628.75883779 626.91508761zM814.71855693 812.87570586L721.73869737 812.87570586 721.73869737 905.85556631l185.95971914 0L907.69841651 719.89494717 814.71855693 719.89494717 814.71855693 812.87570586zM814.71855693 626.91508761l92.97985958-2e-8L907.69841651 533.93522803 814.71855693 533.93522803 814.71855693 626.91508761zM535.77897822 533.93522803l1e-8 92.97985956 92.97985956 2e-8L628.75883779 533.93522803 535.77897822 533.93522803zM256.83849951 766.38532695l92.97985957 0L349.81835908 673.40546738 256.83849951 673.40546738 256.83849951 766.38532695z"></path>
                                                </svg>
                                            </div>
                                            上传二维码
                                            <input type="file" name="wechatCode" accept="image/*"/>
                                        </div>
                                    </div>


                                    <div class="form-item">
                                        <div class="form-title">联系邮箱：</div>
                                        <input bottlecms-input type="text" name="email" id="email"
                                               th:value="${data.email}" placeholder="请输入邮箱"/>
                                    </div>

                                    <div class="form-item">
                                        <div class="form-title">联系电话：</div>
                                        <input bottlecms-input type="number" name="phone" id="phone"
                                               th:value="${data.phone}" placeholder="请输入电话"/>
                                    </div>
                                    <div style="text-align: center; padding: 1rem 0">
                                        审核状态：
                                        <font th:if="${data.isCheck} eq 3" class="array_check_3">
                                            待审核
                                        </font>
                                        <font th:if="${data.isCheck} eq 2" class="array_check_2">
                                            审核拒绝
                                        </font>
                                        <font th:if="${data.isCheck} eq 1" class="array_check_1">
                                            审核通过
                                        </font>
                                    </div>
                                    <div class="form-item">
                                        <button class="btn  form-submit" type="submit">
                                            保存
                                        </button>
                                    </div>

                                </div>
                            </form>
                        </div>
                        <div class="item infinite-scroll infinite-scroll2">
                            <div class="bcui-infinite infinite-contact2" pages-current="1"
                                 pages-src="/m/ajax/center/contact/contact?type=2">
                                <div class="bcui-infinite-list bcui-userlist loadlist contact_apples contactlist2 ">
                                </div>
                                <div class="bcui-infinite-preloader" status="more">
                                    <div class="bcui-flow-more"><font>加载更多</font></div>
                                    <div class="bcui-flow-loading"></div>
                                    <div class="bcui-flow-end"><font>没有了～</font></div>
                                    <div class="bcui-flow-nothing"><font>没有找到相关数据！</font></div>
                                </div>
                            </div>
                        </div>
                        <div class="item infinite-scroll infinite-scroll3">
                            <div class="bcui-infinite infinite-contact3" pages-current="1"
                                 pages-src="/m/ajax/center/contact/contact?type=3">
                                <div class="bcui-infinite-list bcui-userlist loadlist contact_apples contactlist3">
                                </div>
                                <div class="bcui-infinite-preloader" status="more">
                                    <div class="bcui-flow-more"><font>加载更多</font></div>
                                    <div class="bcui-flow-loading"></div>
                                    <div class="bcui-flow-end"><font>没有了～</font></div>
                                    <div class="bcui-flow-nothing"><font>没有找到相关数据！</font></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>


            </div>
        </div>
    </div>
    <div th:replace="layout/m_layout::systemJs"></div>
    <script src="/m/js/jquery.qrcode.min.js" type="text/javascript"></script>
    <script src="/m/js/center/contact.js" type="text/javascript"></script>

</div>
</html>
